#include "Genotype.h"

class Population 
{
public:
	Population(Spectrum * sp, int size, int age, int tournamentGroup, float mutAmount, float crossAmount);
	void Mutate();
	void Cross();
	void Tournament();
	Genotype getBestGenotype();
	void Evolve();
	
private:
	std::vector<Genotype *> genes;	
	Spectrum * sp;
	int age;
	int size;
	int realSize;
	int tournamentGroupSize;
	float mutationAmount; //0-1
	float crossAmount; //0-1
};